package com.slliver.orderservice.service;


import com.slliver.commonmodel.order.Order;

public interface OrderService {

    Order saveOrderByRestTemplate(Long userId, Long productId);
    Order saveOrderWithLoadBalancerByRestTemplate(Long userId, Long productId);

    Order saveOrderWithAnnotationLoadBalancerByRestTemplate(Long userId, Long productId);
    Order saveOrderByOpenFeign(Long userId, Long productId);

    Order saveOrderByDubbo(Long userId, Long productId);
}
